home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
1469
/
demo.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1996-07-28
|
4KB
|
130 lines
VERSION 4.00
Begin VB.Form frmDemo
BorderStyle = 1 'Fixed Single
Caption = "VBMax Electronic Message Demo"
ClientHeight = 870
ClientLeft = 60
ClientTop = 345
ClientWidth = 7980
Height = 1275
Icon = "Demo.frx":0000
Left = 0
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
ScaleHeight = 870
ScaleWidth = 7980
Top = 0
Width = 8100
Begin VB.CommandButton cmdOptions
Caption = "Options"
Height = 315
Left = 30
TabIndex = 1
Top = 540
Width = 1095
End
Begin VB.CommandButton cmdHeadlines
Caption = "Headlines"
Height = 315
Left = 4590
TabIndex = 5
Top = 540
Width = 1095
End
Begin VB.CommandButton cmdCallbacks
Caption = "Callbacks"
Height = 315
Left = 2310
TabIndex = 3
Top = 540
Width = 1095
End
Begin VB.CommandButton cmdEffects
Caption = "Effects"
Height = 315
Left = 1170
TabIndex = 2
Top = 540
Width = 1095
End
Begin VB.CommandButton cmdArrays
Caption = "Arrays"
Height = 315
Left = 3450
TabIndex = 4
Top = 540
Width = 1095
End
Begin VB.CommandButton cmdAbout
Caption = "&About"
Height = 315
Left = 5730
TabIndex = 6
Top = 540
Width = 1095
End
Begin VB.PictureBox picDisplay
Height = 450
Left = 30
ScaleHeight = 390
ScaleWidth = 7860
TabIndex = 0
Top = 30
Width = 7920
End
Begin VB.CommandButton cmdExit
Cancel = -1 'True
Caption = "E&xit"
Height = 315
Left = 6870
TabIndex = 7
Top = 540
Width = 1095
End
Attribute VB_Name = "frmDemo"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Option Explicit
Dim moEDisp As New CElectronicDisplay
Private Sub Form_Load()
Move 0, 0
With moEDisp
Set .Container = picDisplay
.ForeColor = vbYellow
.Effect = gnEFFECT_SLIDE_FROM_TOP_CENTER
.Caption = "VBMax Electronic Message"
End With
End Sub
Private Sub Form_Unload(Cancel As Integer)
Dim i As Integer
moEDisp.Shutdown
Set moEDisp = Nothing
Set frmDemo = Nothing
For i = Forms.Count - 1 To 0 Step -1
Unload Forms(i)
Next i
End
End Sub
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub cmdOptions_Click()
frmOptions.Show
End Sub
Private Sub cmdEffects_Click()
frmEffects.Show
End Sub
Private Sub cmdCallbacks_Click()
frmCallbacks.Show
End Sub
Private Sub cmdArrays_Click()
frmArray.Show
End Sub
Private Sub cmdHeadlines_Click()
frmNews.Show
End Sub
Private Sub cmdAbout_Click()
frmAbout.Show vbModal
End Sub